package cn.cdqf.manager.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel("接收优惠券模板参数")
public class CouponTemplateParam implements Serializable {
    //分类
    @ApiModelProperty(name = "cCategory",dataType = "String",required = true,value = "优惠券分类")
    @NotBlank(message = "分类不能为空")
    private String cCategory;
    //过期分类
    private String cExpireType;
    //过期的天数
    private Integer cExpireDay;
    //商家id
    private String cMerchantId;
    //商家名字
    @ApiModelProperty(name = "cMerchantName",dataType = "String",required = true,value = "商户名称")
    private String cMerchantName;
    //文件
   // private MultipartFile cLogo;
    //描述
    private String cDesc;
    //产品线
    private String cProductLine;

    private String cConsumeStatus;

    private String cAreaId;
    //限制人数
    private Integer cLimiter;
    //总数
    private Integer cCount;
    //金额
    private Double cAmount;
    //金额限制
    private Double cAmountLimit;

    public String getcCategory() {
        return cCategory;
    }

    public void setcCategory(String cCategory) {
        this.cCategory = cCategory;
    }

    public String getcExpireType() {
        return cExpireType;
    }

    public void setcExpireType(String cExpireType) {
        this.cExpireType = cExpireType;
    }

    public Integer getcExpireDay() {
        return cExpireDay;
    }

    public void setcExpireDay(Integer cExpireDay) {
        this.cExpireDay = cExpireDay;
    }

    public String getcMerchantId() {
        return cMerchantId;
    }

    public void setcMerchantId(String cMerchantId) {
        this.cMerchantId = cMerchantId;
    }

    public String getcMerchantName() {
        return cMerchantName;
    }

    public void setcMerchantName(String cMerchantName) {
        this.cMerchantName = cMerchantName;
    }

    /*public MultipartFile getcLogo() {
        return cLogo;
    }

    public void setcLogo(MultipartFile cLogo) {
        this.cLogo = cLogo;
    }*/

    public String getcDesc() {
        return cDesc;
    }

    public void setcDesc(String cDesc) {
        this.cDesc = cDesc;
    }

    public String getcProductLine() {
        return cProductLine;
    }

    public void setcProductLine(String cProductLine) {
        this.cProductLine = cProductLine;
    }

    public String getcConsumeStatus() {
        return cConsumeStatus;
    }

    public void setcConsumeStatus(String cConsumeStatus) {
        this.cConsumeStatus = cConsumeStatus;
    }

    public String getcAreaId() {
        return cAreaId;
    }

    public void setcAreaId(String cAreaId) {
        this.cAreaId = cAreaId;
    }

    public Integer getcLimiter() {
        return cLimiter;
    }

    public void setcLimiter(Integer cLimiter) {
        this.cLimiter = cLimiter;
    }

    public Integer getcCount() {
        return cCount;
    }

    public void setcCount(Integer cCount) {
        this.cCount = cCount;
    }

    public Double getcAmount() {
        return cAmount;
    }

    public void setcAmount(Double cAmount) {
        this.cAmount = cAmount;
    }

    public Double getcAmountLimit() {
        return cAmountLimit;
    }

    public void setcAmountLimit(Double cAmountLimit) {
        this.cAmountLimit = cAmountLimit;
    }
}
